home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmTextGetCenterline.z
/
XmTextGetCenterline
Wrap
Text File
|
1998-10-30
|
3KB
|
67 lines
XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttCCCCeeeennnntttteeeerrrrlllliiiinnnneeee((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttCCCCeeeennnntttteeeerrrrlllliiiinnnneeee((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttCCCCeeeennnntttteeeerrrrlllliiiinnnneeee - Return the height (length) of a
character string when the writing direction is vertical
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/Text.h>
iiiinnnntttt XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttCCCCeeeennnntttteeeerrrrlllliiiinnnneeee(
WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttCCCCeeeennnntttteeeerrrrlllliiiinnnneeee accesses the x position of the
centerline in the TTTTeeeexxxxtttt widget, relative to the x position of
the top of the widget.
_w_i_d_g_e_t Specifies the TTTTeeeexxxxtttt widget ID.
RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
In the case of horizontal writing, this function accesses 0.
In the case of vertical writing, this function accesses the
x position of the first centerline in the Text widget,
relative to the x position of the left of the widget. The
calculation takes into account the margin width, shadow
thickness, highlight thickness, and a half of font width of
the first font(set) in the fontlist used for drawing text.
SSSSEEEEEEEE AAAALLLLSSSSOOOO
XXXXmmmmTTTTeeeexxxxtttt(3), XXXXmmmmTTTTeeeexxxxttttGGGGeeeettttBBBBaaaasssseeeelllliiiinnnneeee(3)
Page 1 (printed 10/24/98)